package com.kakarote.hrm.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@Setter
public class RecruitPlanRecordExportVO {

    @ApiModelProperty("计划名称")
    @ExcelProperty("计划名称")
    @ColumnWidth(20)
    private String planName;

    @ApiModelProperty("记录名称")
    @ExcelProperty("记录名称")
    @ColumnWidth(20)
    private String recordName;

    @ApiModelProperty("记录编号")
    @ExcelProperty("记录编号")
    @ColumnWidth(15)
    private String recordCode;

    @ApiModelProperty("开始日期")
    @ExcelProperty("开始日期")
    @ColumnWidth(15)
    private LocalDate startDate;

    @ApiModelProperty("结束日期")
    @ExcelProperty("结束日期")
    @ColumnWidth(15)
    private LocalDate endDate;

    @ApiModelProperty("创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    @ApiModelProperty("创建人姓名")
    @ExcelProperty("创建人")
    @ColumnWidth(15)
    private String createRealName;

    @Override
    public String toString() {
        return "RecruitPlanRecordExportVO{" +
                "planName='" + planName + '\'' +
                ", recordName='" + recordName + '\'' +
                ", recordCode='" + recordCode + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", createTime=" + createTime +
                ", createRealName='" + createRealName + '\'' +
                '}';
    }
}

